cmake_minimum_required (VERSION 3.5)

project (englishlearning)

set(CMAKE_INSTALL_PREFIX ${PROJECT_BINARY_DIR}/src)
set(INSTALL_DIR "installed")

set(CMAKE_BUILD_TYPE Debug)

#add_compile_options(-Wall -Werror -fsanitize=address)
#add_compile_options(-Wall -Werror)

add_subdirectory("src")

install(DIRECTORY "res"
        DESTINATION ${INSTALL_DIR}
        FILES_MATCHING
        PATTERN "*")